function beforeRegister({userRecord, clientInfo}) {
	if (!userRecord.nikname) {
		userRecord.nickname = "匿名" + Math.random().toString(36).substring(3, 9)
	}
	return userRecord
}

module.exports = {
	beforeRegister
}